#define _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<stdlib.h>
int main()
{
	FILE* fp = NULL;
	char ch = 0;
	char filename[20] = { 0 };
	scanf("%s", filename);
	if ((fp = fopen(filename, "r")) == NULL)
	{
		printf("cannot open the file");
		exit(0);
	}
	ch = fgetc(fp);
	while (!feof(fp))
	{
		putchar(ch);
		ch = fgetc(fp);
	}
	fclose(fp);
	putchar('\n');
	return 0;
}